<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>com.lbi.helpers.view.RGB</title><script src="../../../../quicknav.js" type="text/javascript"></script><script><!--
document.quicknavBasePath="../../../../index-files";
//--></script><link href="../../../../style.css" title="JavaDoc" rel="stylesheet" type="text/css"/><link href="../../../../unnatural.css" title="Unnatural" rel="alternate stylesheet" type="text/css"/><link href="../../../../overview-summary.html" title="Overview" rel="top"/><link href="package-summary.html" title="Package com.lbi.helpers.view" rel="up"/><link href="../../../../com/lbi/helpers/view/SimpleDrawing.html" title="Class com.lbi.helpers.view.SimpleDrawing" rel="prev"/><link href="../../../../com/lbi/helpers/view/ColourHelper.html" title="Class com.lbi.helpers.view.ColourHelper" rel="next"/><meta name="generator" content="http://www.badgers-in-foil.co.uk/projects/as2api/"/></head><body><h1>Class com.lbi.helpers.view.RGB</h1><div class="type_hierachy"><ul><li><strong>com.lbi.helpers.view.RGB</strong></li></ul></div><div class="type_description"><h2>Description</h2><p>
 	LBi Useful ActionScript 2 Library
    Copyright (C) 2007 LBi / Michael Forrest

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
</p></div><div class="type_indexes"><div class="field_index"><h2>Field Index</h2><a href="#blue" title="public blue:Number">blue</a>, <a href="#green" title="public green:Number">green</a>, <a href="#red" title="public red:Number">red</a></div><div class="method_index"><h2>Method Index</h2><div><code>new <a href="#RGB" title="public function RGB(v:Number)">RGB()</a></code></div><a href="#getValue" title="public function getValue():Number">getValue()</a>, <a href="#newFromComponents" title="static public function newFromComponents(r:Number, g:Number, b:Number):RGB">newFromComponents()</a></div></div><div class="type_details"><div class="constructor_detail_list"><h2>Constructor Detail</h2><div class="method_details"><a name="RGB"></a><h3>RGB</h3><code class="method_synopsis">public function <strong class="method_name">RGB</strong>(v:<span class="unresolved_type_name">Number</span>)</code><div class="method_info"></div></div></div><div class="field_detail_list"><h2>Field Detail</h2><a name="red"></a><h3>red</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">red</strong>:<span class="unresolved_type_name">Number</span></code></div><a name="green"></a><h3>green</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">green</strong>:<span class="unresolved_type_name">Number</span></code></div><a name="blue"></a><h3>blue</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">blue</strong>:<span class="unresolved_type_name">Number</span></code></div></div><div class="method_detail_list"><h2>Method Detail</h2><div class="method_details alt_row"><a name="newFromComponents"></a><h3>newFromComponents</h3><code class="method_synopsis">static public function <strong class="method_name">newFromComponents</strong>(r:<span class="unresolved_type_name">Number</span>, g:<span class="unresolved_type_name">Number</span>, b:<span class="unresolved_type_name">Number</span>):<a href="../../../../com/lbi/helpers/view/RGB.html" class="class_name" title="Class com.lbi.helpers.view.RGB">RGB</a></code><div class="method_info"></div></div><div class="method_details"><a name="getValue"></a><h3>getValue</h3><code class="method_synopsis">public function <strong class="method_name">getValue</strong>():<span class="unresolved_type_name">Number</span></code><div class="method_info"></div></div></div></div><ul class="main_nav" id="main_nav"><li><a href="../../../../overview-summary.html" title="Overview of API" class="button">Overview</a></li><li><a href="package-summary.html" title="Overview of package com.lbi.helpers.view" class="button">Package</a></li><li><span class="button nav_current">Class</span></li><li><a href="../../../../index-files/index.html" title="Alpabetical index of types and members" class="button">Index</a></li></ul><div class="footer"><a href="http://www.badgers-in-foil.co.uk/projects/as2api/" title="ActionScript 2 API Documentation Generator">as2api</a></div></body></html>